//
//  QRCodeScanVC.h
//  Test
//
//  Created by xp on 2017/8/9.
//  Copyright © 2017年 tiantianxiangshang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseVC.h"
typedef void(^successBlock)(NSString *qrCodeInfo);

@interface HCQRCodeScanVC : BaseVC{
    
    successBlock block;
}

/**
 * navtgationItem.title (option)
 */
@property (nonatomic, strong) NSString *navigationTitle;

/**
 * hide album of rightBar ? default is No.
 */
@property (nonatomic, assign) BOOL hideAlbum;

/**
 *将扫码成功后获得的 二维码/条形码 信息进行回传
 */
- (void)successGetQRCodeInfo:(successBlock)success;

/**
 * 初始化方法，并返回扫码信息
 */
- (instancetype)initWithSuccessBlock: (void(^)(NSString *qrCodeInfo))success;
@end
